package edu.wong.pro.dao;

/**
 * AbstractComment entity provides the base persistence definition of the
 * Comment entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractComment implements java.io.Serializable {

	// Fields

	private Integer commentId;
	private Integer newsId;
	private String commentater;
	private String commentDate;
	private String commentContent;
	private Integer floor;
	private Integer good;

	// Constructors

	/** default constructor */
	public AbstractComment() {
	}

	/** full constructor */
	public AbstractComment(Integer newsId, String commentater,
			String commentDate, String commentContent, Integer floor,
			Integer good) {
		this.newsId = newsId;
		this.commentater = commentater;
		this.commentDate = commentDate;
		this.commentContent = commentContent;
		this.floor = floor;
		this.good = good;
	}

	// Property accessors

	public Integer getCommentId() {
		return this.commentId;
	}

	public void setCommentId(Integer commentId) {
		this.commentId = commentId;
	}

	public Integer getNewsId() {
		return this.newsId;
	}

	public void setNewsId(Integer newsId) {
		this.newsId = newsId;
	}

	public String getCommentater() {
		return this.commentater;
	}

	public void setCommentater(String commentater) {
		this.commentater = commentater;
	}

	public String getCommentDate() {
		return this.commentDate;
	}

	public void setCommentDate(String commentDate) {
		this.commentDate = commentDate;
	}

	public String getCommentContent() {
		return this.commentContent;
	}

	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}

	public Integer getFloor() {
		return this.floor;
	}

	public void setFloor(Integer floor) {
		this.floor = floor;
	}

	public Integer getGood() {
		return this.good;
	}

	public void setGood(Integer good) {
		this.good = good;
	}

}